﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Zzj.Model
{
    public class IDCardInfo
    {
        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; } = string.Empty;

        /// <summary>
        /// 性别
        /// </summary>
        public string Gender { get; set; } = string.Empty;

        /// <summary>
        /// 民族
        /// </summary>
        public string Nation { get; set; } = string.Empty;

        /// <summary>
        /// 出生日期
        /// </summary>
        public string BirthDate { get; set; } = string.Empty;

        /// <summary>
        /// 地址
        /// </summary>
        public string Address { get; set; } = string.Empty;

        /// <summary>
        /// 身份证号
        /// </summary>
        public string IDNumber { get; set; } = string.Empty;

        /// <summary>
        /// 签发机关
        /// </summary>
        public string IssueAuthority { get; set; } = string.Empty;

        /// <summary>
        /// 有效期
        /// </summary>
        public string ValidPeriod { get; set; } = string.Empty;

        /// <summary>
        /// 照片Base64数据
        /// </summary>
        public string PhotoBase64 { get; set; } = string.Empty;

        /// <summary>
        /// 读取时间
        /// </summary>
        public DateTime ReadTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 是否读取成功
        /// </summary>
        public bool IsSuccess { get; set; } = false;

        /// <summary>
        /// 错误信息
        /// </summary>
        public string ErrorMessage { get; set; } = string.Empty;

        /// <summary>
        /// 身份证物理卡号
        /// </summary>
        public string MacCard { get; set; } = string.Empty;
    }
}